﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace _20170202_TV_class
{
    class Channel
    {
        private int channelNumber;
        string channelName;

        public Channel(int channelNumber, string channelName)
        {
            this.channelNumber = channelNumber;
            this.channelName = channelName;
        }

        internal void PrintChannelInfo()
        {
            Console.WriteLine("{0} - {1}", channelNumber, channelName);
        }
    }
}
